$OpenBSD: patch-t_sa_compile_t,v 1.3 2015/05/23 14:18:55 bluhm Exp $
--- t/sa_compile.t.orig	Tue Apr 28 21:56:58 2015
+++ t/sa_compile.t	Tue May 12 22:36:36 2015
@@ -8,8 +8,7 @@ use Config;
 use File::Basename;
 use File::Path qw/mkpath/;
 
-my $temp_binpath = $Config{sitebinexp};
-$temp_binpath =~ s/^\Q$Config{prefix}\E//;
+my $temp_binpath = "bin";
 
 # called from BEGIN
 sub re2c_version_new_enough {
@@ -65,6 +64,7 @@ sub new_instdir {
   $instdir = $instbase.".".(shift);
   print "\nsetting new instdir: $instdir\n";
   $INST_FROM_SCRATCH and system("rm -rf $instdir; mkdir $instdir");
+  system("mkdir -p $instdir/foo/etc/mail/spamassassin");
 }
 
 sub run_makefile_pl {
